<!DOCTYPE html>
<html>
<head>
    <title>Cross-Origin Request Example</title>
</head>
<body>
    <h1>CORS Request Test</h1>
    <button id="requestData">Request Data</button>
    <p id="response"></p>

    <script>
        document.getElementById('requestData').addEventListener('click', function() {
            fetch('http://194.36.209.169:8080/admin/config/system')
                .then(response => response.json())
                .then(data => {
                    document.getElementById('response').textContent = JSON.stringify(data);
                })
                .catch(error => {
                    document.getElementById('response').textContent = 'Error: ' + error;
                });
        });
    </script>
</body>
</html>

